package cn.sdormitory.canteen.dao;

import cn.sdormitory.canteen.vo.CanteenBuyVO;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CanteenBuyDao extends BaseMapper<CanteenBuyVO> {
    List<CanteenBuyVO> getCanteenBuyList(@Param("map") Map<String,Object> map, @Param("currPage") int currPage, @Param("pageSize") int pageSize);
    int getCanteenBuyListCount(@Param("map")Map<String,Object> map);
}
